package org.an.demo;

import android.app.Application;
import org.an.ku.util.ACache;

/**
 * Created by Administrator on 2016/10/19.
 */

public class MyApplication extends Application {
  private static MyApplication mInstance;
  private ACache mACache;

  public MyApplication() {
  }

  public static MyApplication getInstance() {
    return mInstance;
  }

  @Override public void onCreate() {
    super.onCreate();
    mInstance = this;
    mACache = ACache.get(this);
    //    setTheme(R.style.AppTheme);
  }

  public ACache getACache() {
    return mACache;
  }
}
